package com.example.backend.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName("wm_dz")
public class DiZhi {
    @TableId(value = "dzid",type = IdType.AUTO)
    //地址id
    private Integer dzid;
    //用户id
    private Integer yhid;
    //地址
    private String address;
}
